package com.ruoyi.common.core.page;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 分页基本条件
 *
 * @author gongyuchao on 2018/4/13.
 */
@Data
public class QueryObject implements Serializable {
    @NotNull
    private Integer currentPage = 1;

    @NotNull
    private Integer pageSize = 20;

    private String orderByField;

    private String asc;

}
